package _18_Abstraction_Polymorphism;

public class Human extends Mammal{

	@Override
	void makeNoise() 
	{
		System.out.println("Screaming!");
		
	}

	@Override
	public void move(String direction) 
	{
		System.out.println("Moving like a human.");
		
	}

	@Override
	public void stopMoving() 
	{
		System.out.println("Human stops moving.");
		
	}

	@Override
	void eat(String food) 
	{
		System.out.println("Human is eating " + food);
		
	}

}
